package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

public class friendDetail2 extends AppCompatActivity {
    private TextView textView6,textView7,textView8;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_friend_detail2);
        textView6=findViewById(R.id.textView6);
        textView7=findViewById(R.id.textView7);
        textView8=findViewById(R.id.textView8);
        Intent intent=getIntent();
        String name=intent.getStringExtra("name");
        String area=intent.getStringExtra("area");
        String age=intent.getStringExtra("age");

        textView6.setText(name);
        textView7.setText(area);
        textView8.setText(age);
    }
}